#ifndef HISTOGRAMWIDGET_H
#define HISTOGRAMWIDGET_H

#include <QWidget>

class HistogramWidget : public QWidget
{
    Q_OBJECT
public:
    explicit HistogramWidget(QWidget *parent = 0);

    void setColor(QColor color);

    void setScale(double scale);

signals:

public slots:

protected:
    virtual void paintEvent(QPaintEvent *);


protected:
    QColor  m_color;
    double  m_scale;

};

#endif // HISTOGRAMWIDGET_H
